Skip to content

Conversation

@hpoettker
Copy link
Contributor

This PR is intended to resolve #30432.

I've formatted the Spring Security examples consistently such that

  • the last word of the respective method name is chosen as the variable name in the lambda,
  • withDefaults() is used where no actual Customizer is used,
  • chaining is not used as that is sometimes hard to style nicely if lines are continued.

If a different style is preferred, I'll be happy to change it.

.build();
// @formatter:on
http.requestMatcher(PathRequest.toH2Console());
http.authorizeRequests(yourCustomAuthorization());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To underline that the console should not be left unsecured without prescribing a security setup as discussed in #29932.

@snicoll
Copy link
Member

snicoll commented Jun 13, 2022

Thanks again @hpoettker

@hpoettker hpoettker deleted the lambda-based-api branch June 13, 2022 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation A documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants